package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Hotel;
import cn.wolfcode.trip.base.domain.HotelDetail;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IHotelDetailService {
    void saveOrUpdate(HotelDetail hotel);
    void delete(Long id);
    HotelDetail selectByPrimaryKey(Long id);
    List<HotelDetail> selectAll();
    PageInfo<HotelDetail> query(QueryObject qo);

    List<HotelDetail> listByHotelId(Long id);


}
